<template>
	<view>
		<view class="header">
			<view class="in">
				<image src="../../static/image/aixin.png" mode=""></image>
				<image src="../../static/image/fenxiang.png" mode=""></image>
			</view>
			<view class="un">
				<image src="../../static/image/liangf.png" mode=""></image>
				<view class="un-ab">
					<text>开通会员观看视频做法</text>
					<view>
						<text>立即开通</text>
					</view>
					<text>已是会员，立即登录 ></text>
				</view>
			</view>
		</view>
		<view class="main">
			<view class="top">
				<view class="in">
					<text>会员低至2元/月、免广告、看10000+名厨视频</text>
				</view>
				<text>川北凉粉</text>
				<view class="bottom">
					<text>会员专享</text>
					<image src="../../static/image/hg.png" mode=""></image>
					<text>4.9万浏览</text>
					<image src="../../static/image/eys.png" mode=""></image>
					<text>117收藏</text>
					<image src="../../static/image/xx.png" mode=""></image>
				</view>
			</view>
			<view class="main-line">
				
			</view>
			<view class="content">
				<view class="top">
					<image src="../../static/image/shijian.png" mode=""></image>
					<text>30分钟以上</text>
					<image src="../../static/image/xing%20.png" mode=""></image>
					<text>切墩（初级）</text>
				</view>
				<view class="middle">
					<view class="top">
						<text>用料</text>
						<text>加入采购清单</text>
					</view>
					<view class="middle">
						<view>
							<text>豌豆凉粉</text>
							<text>500g</text>
						</view>
						<view>
							<text>小葱末</text>
							<text>20g</text>
						</view>
					</view>
					<view class="bottom">
						<text class="ts-line">小贴士</text>
						<view>
							<text>[用量换算]</text>
							<text>1汤匙≈15ml;茶匙≈3g</text>
						</view>
						<view>
							<text>[用量换算]</text>
							<text>1汤匙≈15ml;茶匙≈3g</text>
						</view>
						<view>
							<text>[用量换算]</text>
							<text>1汤匙≈15ml;茶匙≈3g</text>
						</view>
					</view>
				</view>
				<view class="main-line">
					
				</view>
				<view class="bottom">
					<text>相关菜谱</text>
					<view class="in">
						<view>
							<image src="../../static/image/liangf.png" mode=""></image>
							<text>川北凉粉</text>
							<view>
								<text>4.9万浏览</text>
								<image src="../../static/image/eys.png" mode=""></image>
								<text>177收藏</text>
								<image src="../../static/image/xx.png" mode=""></image>
							</view>
						</view>
						<view>
							<image src="../../static/image/liangf.png" mode=""></image>
							<text>川北凉粉</text>
							<view>
								<text>4.9万浏览</text>
								<image src="../../static/image/eys.png" mode=""></image>
								<text>177收藏</text>
								<image src="../../static/image/xx.png" mode=""></image>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		mounted() {
			 uni.setNavigationBarTitle({
			      title: '川北凉粉' 
			    })
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
.header{
	.in{
		height: 50rpx;
		background-color: #ee7b2d;
		display: flex;
		justify-content: flex-end;
		image{
			width: 30rpx;
			height: 30rpx;
			margin-right: 30rpx;
		}
	}
	.un{
		width: 100%;
		height: 350rpx;
		position: relative;
		image{
			width: 100%;
			height: 100%;
		}
		.un-ab{
			width: 100%;
			height: 350rpx;
			position: absolute;
			top: 0;
			background-color: rgba(0, 0, 0,0.1);
			color: #ffffff;
			text-align: center;
			box-sizing: border-box;
			padding-top: 90rpx;
			font-size: 25rpx;
			>text:nth-of-type(1){
				margin-top: 30rpx;
			}
			>view{
				width: 180rpx;
				height: 60rpx;
				line-height: 60rpx;
				background-color: #edd7b2;
				margin: 10rpx auto;
				border-radius: 20rpx;
				color: #a7825b;
			}
		}
	}
}
.main{
	>.top{
		text-align: center;
		.in{
			width: 92%;
			height: 60rpx;
			line-height: 60rpx;
			background-color:#e8b665;
			text-align: center;
			margin: 20rpx auto;
			border-radius: 10rpx;
			text{
				color: #ffffff;
				font-size: 25rpx;
			}
		}
		>text{
			font-size: 28rpx;
			margin-bottom: 20rpx;
		}
		.bottom{
			font-size: 20rpx;
			margin-top: 10rpx;
			margin-bottom: 40rpx;
			image{
				width: 20rpx;
				height: 20rpx;
			}
			text{
				margin: 0 10rpx;
			}
			text:nth-of-type(1){
				color: red;
			}
		}
	}
	.main-line{
		height: 30rpx;
		background-color: #f5f5f5;
	}
	.content{
		>.top{
			text-align: center;
			>image{
				width: 30rpx;
				height: 30rpx;
				vertical-align: middle;
			}
			>text{
				font-size: 20rpx;
				margin: 0 15rpx;
			}
		}
		>.middle{
			box-sizing: border-box;
			padding: 0 20rpx;
			font-size: 20rpx;
			>.top{
				border-bottom: 1rpx solid #ccc !important;
				height: 50rpx;
				font-size: 25rpx !important;
				font-weight: bold;
				margin-top: 10rpx;
				>text:nth-of-type(2){
					color: #ee7b2d;
					margin-left: 72%;
				}
			}
			>.middle{
				>view{
					height: 60rpx;
					line-height: 60rpx;
					border-bottom: 1rpx solid #ccc !important;
					display: flex;
					justify-content: space-between;
					>text:nth-of-type(2){
						margin-right: 40%;
					}
				}
			}
			>.bottom{
				margin-bottom: 15rpx;
				.ts-line{
					height: 70rpx;
					line-height: 70rpx;
					font-weight: bold;
					font-size: 25rpx;
				}
				>view{
					display: flex;
					flex-direction: column;
					margin-bottom: 15rpx;
					>text:nth-of-type(1){
						font-weight: bold;
						margin-bottom:15rpx;
					}
				}
			}
		}
		>.bottom{
			box-sizing: border-box;
			padding: 20rpx;
			>text{
				font-weight: bold;
				font-size: 28rpx;
			}
			>.in{
				display: flex;
				margin-top: 20rpx;
				>view{
					display: flex;
					flex-direction: column;
					font-size: 28rpx;
					margin-right: 40rpx;
					>text{
						font-weight: bold;
						font-size: 26rpx;
						margin: 10rpx 0;
					}
					>image{
						width: 325rpx;
						height: 250rpx;
						border-radius: 10rpx;
					}
					>view{
						font-size: 20rpx;
						>image{
							width: 20rpx;
							height: 20rpx;
							margin: 0 10rpx;
						}
					}
				}
			}
		}
	}
}
</style>
